﻿using ManaSky.SSO.Interface;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;

namespace ManaSky.Api.Controllers
{
    //[Route("api/[controller]/[Action]")] 
    [ApiController,Authorize]
    public class BaseController : ControllerBase
    {
        protected readonly IConfiguration _configuration;
        protected readonly IAuth _auth;

        public BaseController(IConfiguration configuration)
        {
            _configuration = configuration;
        }
        public BaseController(IConfiguration configuration, IAuth auth)
            : this(configuration)
        {
            _auth = auth;
        }
    }
}
